﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MapData {
    public class MapObject {

        private string name;
        private string description;
        private int styleId;

       
        /// <summary>
        /// Pre:
        /// Post: Sets the default values for a mapobject.
        /// </summary>
        public MapObject() {
            name = "";
            description = "";
            styleId = -1;
        }

        /// <summary>
        /// Pre:
        /// Post: Returns or sets the Name value of the mapObject.
        /// </summary>
        public string Name {
            set {
                this.name = value;
            }
            get {
                return this.name;
            }
        }

        /// <summary>
        /// Pre:
        /// Post: Returns or sets the Description value of the mapObject. 
        /// </summary>
        public string Description {
            set {
                this.description = value;
            }
            get {
                return this.description;
            }
        }

        /// <summary>
        /// Pre:
        /// Post: Returns or sets the Style value of the mapObject.
        /// </summary>
        public int Style {
            set {
                this.styleId = value;
            }
            get {
                return this.styleId;
            }
        }

    }
}
